import http from '../utils/request'

//通过userid获取用户信息
export const trusteeshipInfo = params => {
  return http.request({
    url: `/house/trusteeship/info`,
    method: 'get',
    params
  })
}

export const trusteeshipSave = data => {
    return http.request({
      url: `/house/trusteeship/save`,
      method: 'POST',
      data
    })
  }


  export const getMyEContractlist = data => {
    return http.request({
      url: `/house/trusteeship/getMyEContractlist`,
      method: 'POST',
      data
    })
  }



export const confirmcontract = data => {
    return http.request({
      url: `/house/trusteeship/confirmcontract`,
      method: 'POST',
      data
    })
  }

  export const getMyTrusteeshipcontractList = params => {
    return http.request({
      url: `/house/trusteeship/getMyTrusteeshipcontractList`,
      method: 'GET',
      params
    })
  }

  
